const router = require('express').Router();

const upload = require("../../utils/multer.js");
const { uploadController, sendPublicKey } = require("../../controller/http/common.js");

router.post("/uploadimg", upload.single('file'), uploadController);

router.get("/publicKey", sendPublicKey);

module.exports = router;